//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package commands;

import common.ByteStream;

public class NewspaperAdvertise extends LogicCommand {
    private final int cmdId = 36;
    private final int LotNumber;

    public NewspaperAdvertise(int tt, int LotNumber) {
        super(tt);
        this.LotNumber = LotNumber;
    }

    public int getCommandId() {
        return 36;
    }

    public void encode(ByteStream stream) {
        stream.writeInt(36);
        stream.writeInt(this.LotNumber);
        stream.writeInt(this.ticksWhenTouch().intValue());
    }
}
